//
//  SearchMerchantParser.h
//  FootPrint
//
//  Created by 秦 东方 on 4/14/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MerchantPropertyResponse.pb.h"
#import "MerchantQueryResponse.pb.h"

@protocol SearchMerDelegate <NSObject>

- (void)didFinishReqFilter:(MerchantPropertyResponseMessage*)respFilter;
- (void)failReqFilter;

- (void)didfinishReqMer:(MerchantQueryResponseMessage*)respMerchant;
- (void)failReqMer;

@end

@interface SearchMerchantParser : CommonParser

@property (nonatomic, assign) id<SearchMerDelegate> delegate;

- (void)requestFilter:(long long)uid cityName:(NSString*)city subCity:(NSString*)district busiCircle:(NSString*)circle type:(NSString*)type;

- (void)requestMerchant:(long long)uid cityName:(NSString*)city districtName:(NSString*)district busiCircle:(NSString*)circle type:(NSString*)type subType:(NSString*)subType startIndex:(int)startIndex filter:(NSString*)filter;

@end
